package com.swipemaster;

import android.content.Context;
import android.widget.FrameLayout;
import android.widget.TextView;

public class Layout extends FrameLayout
{
	private TouchSurfaceView mTouchSurfaceView;
	private TextView textView;
	
	public Layout(Context context, int width, int height)
	{
		super(context);
		
		textView = new TextView(context);
		
		mTouchSurfaceView = new TouchSurfaceView(context, width, height, textView);
		addView(mTouchSurfaceView);
//		mTouchSurfaceView.requestFocus();
//		mTouchSurfaceView.setFocusableInTouchMode(true);
		
		addView(textView);
	}
}
